package com.unju.ventanas.principal;



import java.awt.Color;
import java.awt.Dimension;

import com.unju.clases.JPaneConFondo;

public class JPFondoPrincipal extends JPaneConFondo {

	private static final long serialVersionUID = 1L;
	private static JPFondoPrincipal jpfondoPrincipal;
	
	public JPFondoPrincipal() {
		 setBackground(Color.WHITE);
	     setBounds(0, 0, 1024, 700);
	     setPreferredSize(new Dimension(1024, 780));
	     setImagen("/com/unju/img/fondoPrincipal.png");

	}

	public static JPFondoPrincipal getInstance(){
		if(jpfondoPrincipal == null)
			jpfondoPrincipal = new JPFondoPrincipal();
		return jpfondoPrincipal;
	}
}
